import { request, useMyFetch } from "./base";
interface MapData {
  name: string;
  value: number;
}

export function useMapData() {
  return useMyFetch<MapData[]>("/map");
}
